Skip to content

Conversation

@VSadov
Copy link
Member

@VSadov VSadov commented Sep 6, 2025

Mostly to check the current state of build/tests, although maybe we could merge this ? . . .
(perhaps not yet, while there is still some backporting to v10)

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@VSadov VSadov changed the title Enable async feature/tests [RuntimeAsync] Enable async feature/tests Sep 6, 2025
<PropertyGroup>
<RunAnalyzers>true</RunAnalyzers>
<NoWarn>$(NoWarn);xUnit1013;CS1998</NoWarn>
<NoWarn>$(NoWarn);xUnit1013;CS1998;SYSLIB5007</NoWarn>
Copy link
Member Author

@VSadov VSadov Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tommcdon The SYSLIB5007nowarn is to suppress warnings about using experimental API. CompilerServices/AsyncHelpers where the Await helpers live is still marked as experimental.
It will not be experimental in at some point, hopefully soon.

Copy link
Member Author

@VSadov VSadov Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also note the <Features>$(Features);runtime-async=on</Features> below - that enables the new style codegen for async/await on the Roslyn side.

Right now we enable this only for tests under tests/async, if we build that at all.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nowarn for SYSLIB5007 should no longer be needed

@dotnet-policy-service
Copy link
Contributor

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

}

// Roslyn NYI - async in structs. Remove opt-out once supported.
[System.Runtime.CompilerServices.RuntimeAsyncMethodGeneration(false)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer needed either.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NYI has been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant